#ifndef _VAR_
#define _VAR_

#include <avr/pgmspace.h>

typedef unsigned char BYTE;
typedef unsigned int WORD;
typedef unsigned long DWORD;
typedef void * PTR;
typedef char  FSTR;
enum BITSTATE {OFF, ON, TOGGLE};

#define SELBYTE(D,i) ((BYTE*)(&D))[i]

#endif
